package domain

import (
	"gitee.com/cjsn/topsdk/util"
)

type TmallServicecenterWorkerQueryWorkerDto struct {
	/*
	   address     */
	Address *TmallServicecenterWorkerQueryAddressDto `json:"address,omitempty" `

	/*
	   identityId     */
	IdentityId *string `json:"identity_id,omitempty" `

	/*
	   name     */
	Name *string `json:"name,omitempty" `

	/*
	   phone     */
	Phone *int64 `json:"phone,omitempty" `

	/*
	   providerId     */
	ProviderId *int64 `json:"provider_id,omitempty" `

	/*
	   providerName     */
	ProviderName *string `json:"provider_name,omitempty" `

	/*
	   registerTime     */
	RegisterTime *util.LocalTime `json:"register_time,omitempty" `

	/*
	   serviceAreas     */
	ServiceAreas *[]TmallServicecenterWorkerQueryDivisionDto `json:"service_areas,omitempty" `

	/*
	   serviceTypes     */
	ServiceTypes *[]string `json:"service_types,omitempty" `

	/*
	   workType     */
	WorkType *string `json:"work_type,omitempty" `

	/*
	   handheldCardPic     */
	HandheldCardPic *string `json:"handheld_card_pic,omitempty" `

	/*
	   photo     */
	Photo *string `json:"photo,omitempty" `

	/*
	   idCardPicBack     */
	IdCardPicBack *string `json:"id_card_pic_back,omitempty" `

	/*
	   idCardPic     */
	IdCardPic *string `json:"id_card_pic,omitempty" `
}

func (s *TmallServicecenterWorkerQueryWorkerDto) SetAddress(v TmallServicecenterWorkerQueryAddressDto) *TmallServicecenterWorkerQueryWorkerDto {
	s.Address = &v
	return s
}
func (s *TmallServicecenterWorkerQueryWorkerDto) SetIdentityId(v string) *TmallServicecenterWorkerQueryWorkerDto {
	s.IdentityId = &v
	return s
}
func (s *TmallServicecenterWorkerQueryWorkerDto) SetName(v string) *TmallServicecenterWorkerQueryWorkerDto {
	s.Name = &v
	return s
}
func (s *TmallServicecenterWorkerQueryWorkerDto) SetPhone(v int64) *TmallServicecenterWorkerQueryWorkerDto {
	s.Phone = &v
	return s
}
func (s *TmallServicecenterWorkerQueryWorkerDto) SetProviderId(v int64) *TmallServicecenterWorkerQueryWorkerDto {
	s.ProviderId = &v
	return s
}
func (s *TmallServicecenterWorkerQueryWorkerDto) SetProviderName(v string) *TmallServicecenterWorkerQueryWorkerDto {
	s.ProviderName = &v
	return s
}
func (s *TmallServicecenterWorkerQueryWorkerDto) SetRegisterTime(v util.LocalTime) *TmallServicecenterWorkerQueryWorkerDto {
	s.RegisterTime = &v
	return s
}
func (s *TmallServicecenterWorkerQueryWorkerDto) SetServiceAreas(v []TmallServicecenterWorkerQueryDivisionDto) *TmallServicecenterWorkerQueryWorkerDto {
	s.ServiceAreas = &v
	return s
}
func (s *TmallServicecenterWorkerQueryWorkerDto) SetServiceTypes(v []string) *TmallServicecenterWorkerQueryWorkerDto {
	s.ServiceTypes = &v
	return s
}
func (s *TmallServicecenterWorkerQueryWorkerDto) SetWorkType(v string) *TmallServicecenterWorkerQueryWorkerDto {
	s.WorkType = &v
	return s
}
func (s *TmallServicecenterWorkerQueryWorkerDto) SetHandheldCardPic(v string) *TmallServicecenterWorkerQueryWorkerDto {
	s.HandheldCardPic = &v
	return s
}
func (s *TmallServicecenterWorkerQueryWorkerDto) SetPhoto(v string) *TmallServicecenterWorkerQueryWorkerDto {
	s.Photo = &v
	return s
}
func (s *TmallServicecenterWorkerQueryWorkerDto) SetIdCardPicBack(v string) *TmallServicecenterWorkerQueryWorkerDto {
	s.IdCardPicBack = &v
	return s
}
func (s *TmallServicecenterWorkerQueryWorkerDto) SetIdCardPic(v string) *TmallServicecenterWorkerQueryWorkerDto {
	s.IdCardPic = &v
	return s
}
